import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common';
import { NodeDeploymentService } from './node-deployment.service';
import { CreateNodeDeploymentDto } from './dto/create-node-deployment.dto';
import { UpdateNodeDeploymentDto } from './dto/update-node-deployment.dto';

@Controller('nodeDeployment')
export class NodeDeploymentController {
  constructor(private readonly nodeDeploymentService: NodeDeploymentService) {}

    // 节点部署结果分页查询
    @Post('page')
    async getPage(@Body() body) {
      return this.nodeDeploymentService.getPage(body);
    }
}
